# ihrm 登录接口
import requests

# 创建session对象
session = requests.Session()

# 发送post请求
resq = session.post(url='https://ihrm-java.itheima.net/api/sys/login',
                    headers = {'content-type':'application/json;charset=UTF-8'},
                    json= {"mobile":"13800000002","password":"929itheima.CN032@.20250104"})

# 打印请求
print(resq.json())